package com.school.domain;

import java.io.Serializable;

public class TextBook implements Serializable {
    private static final long serialVersionUID = -5559613412894713128L;
    private long tbid;
    private String name;

    public TextBook() {
    }

    public TextBook(long tbid, String name) {
        this.tbid = tbid;
        this.name = name;
    }

    @Override
    public String toString() {
        return "TextBook{" +
                "tbid=" + tbid +
                ", name='" + name + '\'' +
                '}';
    }

    public long getTbid() {
        return tbid;
    }

    public void setTbid(long tbid) {
        this.tbid = tbid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
